﻿Public Class Baraja : Implements IEquatable(Of Baraja)

    Public Property Id As String
    Public Property Nombre As String
    Public Sub New()

    End Sub
    Public Sub New(ByVal id As String, ByVal nombre As String)
        Me.Id = id
        Me.Nombre = nombre
    End Sub

    Public Overloads Function Equals(other As Baraja) As Boolean Implements IEquatable(Of Baraja).Equals
        Return Me.Id = other.Id

    End Function
End Class
